#!/bin/bash
j=30
for ((i=1; i<=j; i++))
    do
        docker run -itd --net net1 --name net1${i} busybox:latest  # number: 12
    done

for ((i=1; i<=j; i++))
    do
        docker stop net1${i}; docker rm  net1${i}   # number: 12  {2,3,4,5,6}
    done

# for ((i=1; i<=j; i++))
#     do
#         docker run -itd --net net1 --name net2${i} busybox:latest # number: 17
#     done

# for ((i=5; i<=9; i++))
#     do
#         docker stop net2${i}; docker rm  net2${i} # number: 17 {.....}
#     done


# for ((i=1; i<=j; i++))
#     do
#         docker run -itd --net net1 --name net3${i} busybox:latest #number:22
#     done

